﻿<?php
class join extends top
{
	function index(){
		$data = $this->spArgs();
		
		if($data["submit"]){
			$insert_data = array(
					'name'=>$data['name'],
					'phone'=>$data['phone'],
					'email'=>$data['email'],
					'unit'=>$data['unit'],
					'intro'=>$data['intro'],
					'add_time'=>date("Y-m-d H:i:s"),

				);

			$this->is_ok = spClass('m_member')->create($insert_data);
		}		
	}

}